﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmMaterial.aspx.cs" Inherits="SISLOG.Web.frmMaterial" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
    <legend>Material</legend>
    <fieldset>
    <legend>Buscar Material</legend>
    <asp:RadioButton ID="RadioButton1" runat="server" Text="Descripción" 
            GroupName="Radio" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:RadioButton ID="RadioButton2" runat="server" Text="Proveedor" 
            GroupName="Radio"/>
    <br />
    <br />
    Buscar:&nbsp;&nbsp;&nbsp;    
    <asp:TextBox ID="txtCriterio" runat="server" Width="206px"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="botonBuscar" runat="server" Text="Buscar" 
            onclick="botonBuscar_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Nuevo Material" 
            Width="107px" />
    </fieldset>
    <fieldset>
    <legend>Listar Material</legend>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            AllowPaging="True" Width="637px">
        <Columns>
            <asp:BoundField DataField="idMaterial" HeaderText="Id Material" 
                SortExpression="idMaterial" />
            <asp:BoundField DataField="descripcion" HeaderText="Descripción" 
                SortExpression="descripcion" />
            <asp:BoundField DataField="Proveedor" HeaderText="Proveedor" 
                SortExpression="Proveedor" />
            <asp:BoundField DataField="fechaIngreso" HeaderText="Fecha Ingreso" 
                SortExpression="fechaIngreso" />
            <asp:BoundField DataField="stockInicial" HeaderText="Stock Inicial" 
                SortExpression="stockInicial" />
            <asp:BoundField DataField="stockFinal" HeaderText="Stock Final" 
                SortExpression="stockFinal" />
            <asp:BoundField DataField="puntoReorden" HeaderText="PuntoReorden" 
                SortExpression="puntoReorden" />
            <asp:HyperLinkField DataNavigateUrlFields="idMaterial" 
                DataNavigateUrlFormatString="frmCRUDMaterial.aspx?id={0}" HeaderText="Editar" 
                Text="Editar" />
        </Columns>
    </asp:GridView>
    </fieldset>
 </fieldset>     
</asp:Content>
